package com.haulmont.asu.entity;

import com.haulmont.chile.core.annotations.NamePattern;
import com.haulmont.cuba.core.entity.StandardEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Author: Sergey42
 * Date: 14.11.13 9:08
 */
@Entity(name = "asu$DepartmentProfile")
@Table(name = "ASU_DEPARTMENT_PROFILE")
@NamePattern("%s|name")
public class DepartmentProfile extends StandardEntity {
    private static final long serialVersionUID = 7985353778112045120L;

    @Column(name = "NAME", length = 100)
    protected String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
